Skip to content

DRAFT 7702 upgrade#124

Draft
zy0n wants to merge 9 commits intomainfrom
zy0n/7702-adapt-update-batched
Draft

DRAFT 7702 upgrade#124
zy0n wants to merge 9 commits intomainfrom
zy0n/7702-adapt-update-batched

Conversation

@zy0n
Copy link
Contributor

@zy0n zy0n commented Feb 3, 2026

No description provided.

zy0n added 7 commits February 3, 2026 13:11
- Implement RelayAdapt7702Helper for generating transactions.
- Create tests for RelayAdapt7702Helper to ensure correct request generation.
- Introduce deriveEphemeralWallet function for ephemeral key derivation.
- Add EIP-7702 signing functionality with signEIP7702Authorization.
- Implement execution signature signing with signExecutionAuthorization.
- Define RelayAdapt7702Request type for structured transaction requests.
- Update index files to export new modules and types.
- Add tests for ephemeral key derivation and EIP-7702 signing.

feat: export RelayAdapt and RelayAdapt7702 related types and factories

feat: implement RelayAdapt7702 validation and ephemeral wallet functionality

feat: add RelayAdapt7702 integration tests and update helper methods

Refactor RelayAdapt7702Contract methods to streamline ephemeral address handling and enhance test coverage for cross contract calls

Add methods for handling ephemeral addresses and signing EIP-7702 requests in RailgunWallet

feat: Add ShieldLegacy event and update RailgunSmartWallet interface

- Introduced ShieldLegacy event in RailgunSmartWallet with appropriate input and output types.
- Updated existing methods in RailgunSmartWallet to change state mutability from "payable" to "nonpayable".
- Modified RailgunSmartWallet factory to include the new ShieldLegacy event in the ABI.
- Refactored RelayAdapt7702 factory to simplify the structure and remove unnecessary constructor logic.
- Updated RelayAdapt7702Contract and RelayAdapt7702Helper to use the new ABI structure.

feat: Add RelayAdapt7702Deployer contract and related ABI files

- Introduced RelayAdapt7702Deployer contract with functions for deployment and ownership management.
- Added ABI JSON file for RelayAdapt7702Deployer.
- Updated typechain files to include RelayAdapt7702Deployer interface and factory.
- Enhanced RelayAdapt7702 interface with new function signatures and events.
- Modified transaction signature handling to accommodate new execute function signature.

feat: Integrate RelayAdapt7702 and RelayAdapt7702Deployer contracts into the engine
@socket-security
Copy link

socket-security bot commented Feb 3, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedethers@​6.13.1 ⏵ 6.14.398 +310010087 +2100

View full report

zy0n added 2 commits February 4, 2026 10:55
- Deleted RelayAdapt7702Deployer contract and its factory files.
- Updated ContractStore to include Registry contract instead of RelayAdapt7702Deployer.
- Removed RelayAdapt7702DeployerContract and replaced it with RegistryContract.
- Updated RailgunEngine to utilize RegistryContract for managing deployments.
- Added new Registry ABI and typechain files to support the Registry contract functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant